#include"QuadTreeTest.h"

/////////////////
//include
/////////////////
#include<time.h>
#include"Game.h"
/////////////////
//prottype
/////////////////

/////////////////
//const
/////////////////


QuadTreeTest::QuadTreeTest()
{
	srand(time(NULL));
}
QuadTreeTest::~QuadTreeTest()
{
}

void QuadTreeTest::Init()
{
	player.Init();
	enemy_manager.Init();
	Game::camera.SetPos(0,1000,-10);
	Game::camera.SetLook(0,0,10);
}
void QuadTreeTest::ContentLoad(Device* device)
{
	player.ContentLoad(device);
	enemy_manager.ContentLoad(device);
	for(int i = 0;i<10;i++)
		enemy_manager.Set(new Enenmy(Vector3D(0,0,0)),0);
}
void QuadTreeTest::Update()
{
	//player.Update();
	//enemy_manager.Update();
}
void QuadTreeTest::Draw(DeviceContext* device_context)
{
	player.Draw(device_context);
	enemy_manager.Draw(device_context);
}